package com.dnjn.mes.biz.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 异常及解决方案关联表
 * </p>
 *
 * @author Amber
 * @since 2023-07-27
 */
@Getter
@Setter
@TableName("mes_except_plan_xref")
public class MesExceptPlanXref {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "exceptId不能为空")
    private Long exceptId;

    //@NotNull(message = "planId不能为空")
    private Long planId;

    @TableField(exist = false)
    private Long[] planIds;
}
